package vrm

type WsListReq struct {
	TenantId  string `json:"tenant_id"`
	BindId    string `json:"bind_id"`
	PageSize  int    `json:"page_size"`
	PageIndex int    `json:"page_index"`
	IsVideo   int    `json:"is_video"`
}

type WsListRes struct {
	Data Data `json:"data"`
}

type Data struct {
	Total     int    `json:"total"`
	Count     int    `json:"count"`
	List      []List `json:"list"`
	PageSize  int    `json:"page_size"`
	PageIndex int    `json:"page_index"`
}

type List struct {
	Id           int     `orm:"auto" form:"-" json:"id"`
	TenantId     string  `orm:"column(tenantId)" form:"tenantId" json:"tenantId" `
	FilePath     string  `orm:"column(filePath)" form:"filePath" json:"filePath" `
	Md5Value     string  `orm:"column(md5Value)" form:"md5Value" json:"md5Value" `
	MediaId      int     `orm:"column(mediaId)" form:"mediaId" json:"mediaId" `
	BindId       string  `orm:"column(bindId)" form:"bindId" json:"bindId" `
	ImagePath    string  `orm:"column(imagePath)" form:"imagePath" json:"imagePath" `
	Duration     float64 `orm:"column(duration)" form:"duration" json:"duration" `
	FileSize     int     `orm:"column(fileSize)" form:"fileSize" json:"fileSize" `
	CreateTime   int64   `orm:"column(createTime)" form:"createTime" json:"createTime" `
	UpdateTime   int64   `orm:"column(updateTime)" form:"updateTime" json:"updateTime" `
	Introduction string  `json:"introduction"`
	IsShow       int     `json:"isShow"`
}

type WSDeleteReq struct {
	Id    int    `json:"id"`
	Token string `json:"token"`
}
